{% if messages %}
    <div id="messages-notification">
        {% for message in messages %}
            <span class="{{ message.tags }}">{{ message|safe }}</span>
            <span style="cursor: pointer;" id="close-button" onclick="closeButton()" class="close">x</a>
        {% endfor %}
    </div>
{% endif %}
